#ifndef WHEELZOOMFONTSIZE_H
#define WHEELZOOMFONTSIZE_H

#include <QTextEdit>
#include <QKeyEvent>

class WheelZoomFontSize : public QTextEdit
{
public:
    WheelZoomFontSize(QWidget *parent);

protected:
    void wheelEvent(QWheelEvent *e) override;
    void keyPressEvent(QKeyEvent *e) override;
    void keyReleaseEvent(QKeyEvent *e) override;

private:
    bool ctrlPressed = 0;
};

#endif // WHEELZOOMFONTSIZE_H
